<div class="r0 p10 pt0 col-xs-12" ng-controller="detailCtrl">
	<div class="col-xs-12 p0">
		<form ng-submit="submitForm('user/project/addOrUpdate.do')">
			<table class="table table-bordered">
				<tr>
					<td class="tc">名称</td>
					<td class="tc" colspan="3">
						<input  class="form-control"  type="text" ng-model="model.name" required placeholder="项目名">
					</td>
				</tr>
				<tr>
					<td class="tc">是否公开</td>
					<td class="tl" colspan="3">
						*私有项目不会建立索引，站内全文搜索检索不到，只能从项目主页地址进入。已经建立的索引将不会删除，需触发修改才能删除<br>
						<input  class="form-control"  id="typeName" type="text" ng-model="model.typeName" required placeholder="点击选择"
					ng-focus="loadPickByName('iwidth=220|iheight=320|tagName=typeName|tag=type|code=PROJECTTYPE|def='+model.type,$event)">
					</td>
				</tr>
				<tr>
					<td class="tc">项目简介</td>
					<td class="tc" colspan="3">
						<textarea rows="5" class="form-control no-resize" ng-model="model.remark"></textarea>
				</tr>
				<tr ng-if="isAdmin()">
					<td class="tc">项目类型</td>
					<td class="tl" colspan="3">
						*推荐项目将在首页默认显示，【管理员项目】可以被其他管理员管理，管理员默认不能管理用户的普通项目<br>
						<input  class="form-control"  id="statusName" type="text" ng-model="model.statusName" required placeholder="点击选择"
					ng-focus="loadPickByName('iwidth=220|iheight=320|tagName=statusName|tag=status|code=PROJECTSTATUE|def='+model.status,$event)">
					</td>
				</tr>
				
				<tr>
					<td class="tc">访问密码</td>
					<td class="tl" colspan="3">
					*模块密码优先于项目密码，输入密码后浏览时需要输入密码才能查看<br>
					<input class="form-control"
						type="text" ng-model="model.password" placeholder="可选，私密项目请设置密码"></td>
				</tr>
				<tr>
					<td class="tc">排序</td>
					<td class="tc" colspan="3">
					<input class="form-control" min="0" max="10000" required type="number" ng-model="model.sequence"></td>
				</tr>
			</table>
			<button type="submit" class="btn btn-success fr">提交</button>
		</form>

		
	</div>
</div>
<div class="cb"></div>

